package eu.sudparis.it.opp.demo.model;
import eu.sudparis.it.opp.TimeSeries;
import eu.sudparis.it.opp.demo.DNode;
import eu.sudparis.it.opp.ex.TraceFilter;
import eu.sudparis.it.opp.observfram.ObserverFrameWork;

public class MobilityDemo {
	public static void main(String[] args) {
		Actor pro=new Actor();
		CommunityAnalyzer ga=new CommunityAnalyzer();
		ObserverFrameWork kfw=new ObserverFrameWork();
		kfw.filter=new TraceFilter(){
		@Override
			public boolean filter(int ida, int idb, long start_time, long end_time) {
				return true;
			}
		};
		kfw.setProperty(pro);
		TimeSeries ts=kfw.load(args);
		DNode.ts=ts;
		ts.interceptor=ga;
		ts.run();
	}
	
}
